package com.edu.service;

import com.edu.pojo.Mission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MissionService {
    int addMission(Mission mission);

    int updateMission(Mission mission);

    List<Mission> showAllMission(String publishman);

    List<Mission> showMyMission(String memberNo);

    List<Mission> showNeedMission(Integer status, String publishman);

    int finishMission(String finishPath,Integer id);

    int agreeThesisTitle(int id);

    int disagreeThesisTitle(int id);
    int approved(int id);

    int notApproved(int id);

    int deleteMission(int id);

    Mission querymissionById(@Param("id")  Integer id);
}
